StaticText.DataSource Property

Syntax

DataSource as DataControl


The DataControl that references a table in a database whose fields are displayed (TableName as String). If assigned in code, you use the Name property of a DataControl.

Use the DataField property to link a field to be displayed to a StaticText. In the IDE, a popup menu of field names will appear. Database fields can also be displayed using EditFields, PopupMenus and ListBoxes.